package com.management.commons.exception;


import com.management.commons.exception.DmBigException;
import com.management.commons.exception.ExceptionCode.DefectTypeExceptionCode;

public class DisableByTypeIdException extends DmBigException {
    public DisableByTypeIdException(Integer code, String message) {
        super(code, message);
    }

    public DisableByTypeIdException(DefectTypeExceptionCode code){
        super(code.getCode(),code.getMessage());
    }
}
